package com.ds.app.util;






public class ModuleExtMenuTree
{   

	    public static final String TOPID= "toproot";
        ModuleExtMenuNode node;

        public void serializ(StringBuffer layoutJson)
        {
            layoutJson.append("[");
            node.serializ(layoutJson);
            layoutJson.deleteCharAt(layoutJson.length() - 1);
            layoutJson.append("]");
        }

        public void serializChild(StringBuffer layoutJson)
        {
            layoutJson.append("[");
            node.serializChild(layoutJson);
            layoutJson.deleteCharAt(layoutJson.length() - 1);
            layoutJson.append("]");
        }

        public ModuleExtMenuNode getNode() {
            return node;
        }

        public void setNode(ModuleExtMenuNode node) {
            this.node = node;
        }
  

}
